package cn.lg.soar.system.biz.modules.auth.model;

import cn.lg.soar.common.util.hardware.DiskInfo;
import cn.lg.soar.common.util.hardware.JvmInfo;
import cn.lg.soar.common.util.hardware.SystemInfo;
import cn.lg.soar.common.util.jackson.serializer.LongToNumberSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;

/**
 * 硬件信息
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class HardwareInfo {

    private JvmInfo jvmInfo;

    private SystemInfo systemInfo;

    private DiskInfo[] diskInfo;

    @JsonSerialize(using= LongToNumberSerializer.class)
    private Long startTime;

    @JsonSerialize(using= LongToNumberSerializer.class)
    private Long duration;

}
